#!/usr/bin/env bash
# usage: ./**.sh username

pacman --noconfirm -S awesome

pacman --noconfirm -S xorg xorg-drivers
pacman --noconfirm -S lightdm lightdm-slick-greeter
systemctl enable lightdm

pacman --noconfirm -S nano mousepad rsync

pacman --noconfirm -S yay pacman-contrib git downgrade

pacman --noconfirm -S networkmanager dnsmasq
systemctl enable NetworkManager

pacman --noconfirm -S openssh sshpass
systemctl enable sshd

pacman --noconfirm -S fastfetch htop sysstat

pacman --noconfirm -S alsa-utils pulseaudio pulseaudio-alsa

pacman --noconfirm -S picom-git

pacman --noconfirm -S rxvt-unicode google-chrome visual-studio-code-bin pcmanfm rofi

pacman --noconfirm -S fcitx5-git fcitx5-gtk-git fcitx5-qt5-git fcitx5-chinese-addons-git fcitx5-mozc-git fcitx5-configtool

pacman --noconfirm -S zsh autojump thefuck oh-my-zsh-git zsh-completions zsh-autosuggestions zsh-syntax-highlighting
pacman --noconfirm -S zsh-theme-powerlevel10k powerline-common powerline-fonts

pacman --noconfirm -S xdg-user-dirs arc-icon-theme mate-polkit udiskie gvfs

pacman --noconfirm -S ntfs-3g unrar p7zip file-roller mlocate sshfs
# sudo sshfs user@ip:directory localdirectory

pacman --noconfirm -S cups hplip hplip-plugin system-config-printer
systemctl enable cups

pacman --noconfirm -S noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra
pacman --noconfirm -S wqy-bitmapfont wqy-microhei wqy-microhei-lite wqy-zenhei
pacman --noconfirm -S ttf-merriweather ttf-merriweather-sans
pacman --noconfirm -S ttf-fira-code woff-fira-code woff2-fira-code
pacman --noconfirm -S mathjax
pacman --noconfirm -S awesome-terminal-fonts
pacman --noconfirm -S nerd-fonts-complete

pacman --noconfirm -S intel-ucode intel-media-driver intel-compute-runtime
pacman --noconfirm -S libva-vdpau-driver mesa-vdpau libvdpau-va-gl vdpauinfo
pacman --noconfirm -S nvidia-dkms nvidia-utils opencl-nvidia
pacman --noconfirm -S bumblebee primus
systemctl enable bumblebeed.service
usermod -aG bumblebee $1

pacman --noconfirm -S betterlockscreen
pacman --noconfirm -S curl wget youtube-dl transmission-qt ffsend-bin
pacman --noconfirm -S v2ray qv2ray-dev-git qv2ray-plugin-ssr-dev-git
pacman --noconfirm -S proxychains-ng
pacman --noconfirm -S geogebra
pacman --noconfirm -S flameshot deepin-screen-recorder
pacman --noconfirm -S deepin-image-viewer deepin-picker
pacman --noconfirm -S baidupcs-go

pacman --noconfirm -S texlive-most texlive-lang
pacman --noconfirm -S perl-log-log4perl perl-yaml-tiny perl-file-homedir perl-unicode-linebreak

pacman --noconfirm -S evince okular pdftk pdf2svg

pacman --noconfirm -S typora pandoc pandoc-citeproc pandoc-crossref princexml
pacman --noconfirm -S hunspell hunspell-en_AU hunspell-en_CA hunspell-en_GB hunspell-en_US

pacman --noconfirm -S npm hugo mdbook

pacman --noconfirm -S ghostscript inkscape imagemagick krita # picture
pacman --noconfirm -S mpv mpv-bash-completion-git vlc gpac mediainfo-gui mkvtoolnix-gui aegisub # video
pacman --noconfirm -S audacious mpg123 spek-git shntool mac # music
# shntool split -f example.cue -t %p\ %n\ %t -o flac example.ape

pacman --noconfirm -S jupyterlab python-sympy python-pillow
pacman --noconfirm -S python-scikit-learn python-cvxopt python-matplotlib python-seaborn
pacman --noconfirm -S python-tensorflow-opt-cuda python-pytorch-opt-cuda tensorboard

pacman --noconfirm -S octave octave-vlfeat octave-forge

pacman --noconfirm -S julia ruby-sass

pacman --noconfirm -S graphviz xdot dot2tex gnuplot

pacman --noconfirm -S clang shfmt autopep8 yapf

pacman --noconfirm -S vapoursynth vapoursynth-plugin-lsmashsource vapoursynth-plugin-mvtools vapoursynth-plugin-deblock vapoursynth-plugin-fluxsmooth ffms2
